#
# makefile for CFJ-3000
#

TARGET=cfj
SRCS=cfj.c soundcard.c terminal.c sockets.c ring.c
HDRS=cfj.h soundcard.h terminal.h sockets.h ring.h
MISCFILES=README COPYING
MAKEFILE=Makefile
OBJS=${SRCS:.c=.o}

CC=gcc
CFLAGS=-c -g -Wall -D_REENTRANT
LD=gcc -lpthread -lreadline -lncurses -I/usr/include/nptl -L/usr/lib/nptl
LDFLAGS=-g -o ${TARGET}

all: cfj
	
cfj: ${OBJS}
	${LD} ${LDFLAGS} ${OBJS} 

clean:
	rm -f ${OBJS} ${TARGET}
	
